﻿<html>
<head>
    <title>MainPage</title>
</head>
<a href="/fetchpage">Fetch Data</a>

<table name=table>
      <tr>
      <td>
        <b>Click</b>
      </td>
      <td>
            <b> Date</b>
      </td>
      <td>
            <b> Location</b>
      </td>
      <td>
            <b> Label</b>
      </td>
      </tr>
{% for datum in Data %}
      <tr>
      <td>
        <a href="/showdata?key={{datum.key}}" >View</a>
      </td>
      <td>
            {{datum.Date}}
      </td>
      <td>
            {{datum.Location}}
      </td>
      <td>
            {{datum.Label}}
      </td>
      </tr>
{% endfor %}
</table>
</body>
</html>
